package com.ytjj.qmyx.admin.mapper;

import com.ytjj.qmyx.admin.model.ReturnDuty;
import com.ytjj.qmyx.admin.model.ReturnDutyExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ReturnDutyMapper {

    void updateDuty(ReturnDuty request);

    long countByExample(ReturnDutyExample example);

    int deleteByExample(ReturnDutyExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ReturnDuty record);

    int insertSelective(ReturnDuty record);

    List<ReturnDuty> selectByExample(ReturnDutyExample example);

    ReturnDuty selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ReturnDuty record, @Param("example") ReturnDutyExample example);

    int updateByExample(@Param("record") ReturnDuty record, @Param("example") ReturnDutyExample example);

    int updateByPrimaryKeySelective(ReturnDuty record);

    int updateByPrimaryKey(ReturnDuty record);

    ReturnDuty selectOne(ReturnDuty param);
}